package com.smit.bean;

public class UpdatePackageBean {
    /*
    "packages": [
    {
        "type": "entire",
            "fromVersion": "*",
            "toVersion": "v1.0.31",
            "url": "http://pay.smit.com.cn:80/fs/2017/02/10/2b5164053e3b45618fffb61d7cb062ed.zip",
            "md5": "6628e67b86a919a901837ad007bcb9bf",
            "size": 1350591,
            "filename": "OTA_v1.0.31.zip",
            "description": "整包升级"
    }
    ]
    */
    private String type;
    private String fromVersion;
    private String toVersion;
    private String url;
    private String md5;
    private long size;
    private String filename;
    private String description;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFromVersion() {
        return fromVersion;
    }

    public void setFromVersion(String fromVersion) {
        this.fromVersion = fromVersion;
    }

    public String getToVersion() {
        return toVersion;
    }

    public void setToVersion(String toVersion) {
        this.toVersion = toVersion;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "UpdatePackageBean{" +
                "type='" + type + '\'' +
                ", fromVersion='" + fromVersion + '\'' +
                ", toVersion='" + toVersion + '\'' +
                ", url='" + url + '\'' +
                ", md5='" + md5 + '\'' +
                ", size='" + size + '\'' +
                ", filename='" + filename + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}